
using System;
using Gtk;

namespace MonoFM.Gui
{
	
	
	[System.ComponentModel.ToolboxItem(true)]
	public class DualPanel : Bin
	{

        private HPaned _panelSplit;

        private FmPanel _leftPanel;

        private FmPanel _rightPanel;

		public DualPanel()
		{
			Build();
		}

        private void Build()
        {
            Stetic.Gui.Initialize(this);
            Stetic.BinContainer.Attach(this);
            Name = "MonoFM.Gui.DualPanel";
            _panelSplit = new HPaned {Position = 500};
            _leftPanel = new SingleFilePanel();
            _rightPanel = new SingleFilePanel();
            _panelSplit.Add1(_leftPanel);
            _panelSplit.Add2(_rightPanel);
            Add(_panelSplit);
            if ((Child != null))
            {
                Child.ShowAll();
            }
            Show();
        }



	}
}
